{extend name="admininfo/admininfo" /}
{block name='main'}
<form class="form-horizontal" action="{:url('admin/Musics/edit')}" method='post' enctype="multipart/form-data">
    <input type="hidden" value="{$list['aid']}" name="id">
    <input type="hidden" value="{$list['sid']}" name="sid">

    <div class="modal-body">

        <table class="table table-bordered" >
            <tr>
                <td>歌曲名</td>
                <td><input type="text" name='name' value="{$list['aname']}"></td>
            </tr>
            <tr>
                <td>演唱歌手</td>
                <td><input type="text" id='singer' name='singer' value="{$list['sname']}"></td>
            </tr>
            <tr>
                <td>图片</td>
                <td>
                    <img src="__UPLOAD__/music-img/{$list['img']}" alt="" width="150px">
                    <input type="file" name='image'>
                </td>
            </tr>
            <tr>
                <td>歌词</td>
                <td>
                    <iframe src="__UPLOAD__/music-lrc/{$list['Lyrics']}" scrolling="auto" frameborder=0></iframe>
                    <input type="file" name='Lyrics'> 
                </td>
            </tr>
            <tr>

                <td colspan="2" style="text-align:center">
                    <button class="btn btn-primary adds" type='submit'>
                        更新数据
                    </button>               
                    
                </td>
            </tr>
        </form>
   
        
        </table>
    </div>



    {/block}